pkgname=dropbox
pkgver=0.7.2
pkgrel=1
pkgdesc="Dropbox is software and a service to share and store your files online."
url="http://www.getdropbox.com"
license=("GPL")
arch=('i686' 'x86_64')
depends=()
if [ `uname -m` = 'i686' ]; then 
	source=("http://dl-web.getdropbox.com/u/17/dropbox-lnx.x86-$pkgver.tar.gz")
	md5sums=(aea6db77bda9d779fa43dfcb4e6ae719)
else
	source=("ttp://dl-web.getdropbox.com/u/17/dropbox-lnx.x86_64-$pkgver.tar.gz")
	md5sums=(4188baf4160fee2b5c41108ed49be58e)
fi
provides=("dropbox")
conflicts=()
install=()


build ()
{
	mkdir -p $pkgdir/usr/share/dropbox
	cp -r $srcdir/.dropbox-dist/* $pkgdir/usr/share/dropbox
	chmod 755 $pkgdir/usr/share/dropbox
	install -dm755 $pkgdir/usr/bin
	cd $pkgdir/usr/bin
	ln -sfv ../share/dropbox/dropbox ./
	ln -sfv ../share/dropbox/dropboxd ./
}